


export function formatterSelectType(row){
  return SelectTypeEnum[row.selectType]
}

export const SelectTypeEnum ={
  0:"唯一",
  1:"单选",
  2:"多选"
}

export function formatterInputType(row){
  return InputTypeEnum[row.inputType]
}

export const InputTypeEnum ={
  0:"手工录入",
  1:"从列表中选取"
}

//检索类型
export function formatterSearchType(row){
  return SearchTypeEnum[row.searchType]
}

export const SearchTypeEnum ={
  0:"不需要进行检索",
  1:"范围检索",
  2:"范围检索"
}

export function formatterAttrType(row){
  return AttrTypeEnum[row.type]
}
export const AttrTypeEnum ={
  0:"规格",
  1:"参数"
}


